package com.example.jetpacktest.network

import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory

object RetrofitSingleTon {

    private val retrofit = Retrofit.Builder()
        .baseUrl("http://www.hbjsinfo.com:9050/RealTimeDataQuery/")
        .addConverterFactory(GsonConverterFactory.create())
        .build()

    fun getRetrofitInstance(): Retrofit{
        return retrofit
    }

}